home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / networking / 3725 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.9 KB  |  48 lines

  1. Path: lillep.gbar.dtu.dk!c948374
  2. From: c948374@lillep.gbar.dtu.dk (Rask Ingemann Lambertsen)
  3. Newsgroups: comp.sys.amiga.networking
  4. Subject: Re: AWeb on DraCo
  5. Date: 10 Apr 1996 20:51:40 GMT
  6. Organization: News Server at UNI-C, Danish Computing Centre for Research and Education.
  7. Distribution: inet
  8. Message-ID: <4kh70s$lvf@news.uni-c.dk>
  9. References: <19960405.7A32D98.10CCA@localhost.UUCP> <jdjvija68z3.fsf@hyppynaru.cs.hut.fi> <ehb.0576@draco.prima.ruhr.de> <neilo-1004961907300001@d220-1.cpe.maroochydore.aone.net.au>
  10. NNTP-Posting-Host: lillep.gbar.dtu.dk
  11. X-Newsreader: TIN [version 1.2 PL1]
  12.  
  13. On Wed, 10 Apr 1996 19:07:30 +1000 Neil O'Rourke (neilo@m140.aone.net.au) wrote:
  14. > In article <ehb.0576@draco.prima.ruhr.de>, ehb@draco.prima.ruhr.de (Edwin
  15. > H. Bielawski) wrote:
  16.  
  17. > > >>May be, but the normal enforcer would never display such silly
  18. > > >>accesses like WORD READ from 00000004!
  19. > > >
  20. > > >Never tried that, but I suppose it wouldn't. Still, accessing 00000004
  21. > > >IS legal. And I still can't believe AWeb is doing that. While you are
  22. > > 
  23. > > Okay, a LONG read from 4 is legal. It's the pointer to execbase.
  24. > > But a WORD read from 4 must be a bug!
  25.  
  26. > Bullshit, check any Commodore docs and example code, they _always_ have a
  27. > word read from location 4 to get execbase.
  28.  
  29. No, they don't, the have a *longword* read from address 4. They use
  30. the instruction
  31.  
  32.     movea.l 4.w,A6
  33.  
  34. which is a *longword* read, not a word read, from address 4. The do,
  35. however, use word *addressing*. The access, however, is still a
  36. longword one.
  37.  
  38. Btw, doing a word read from address 4 to get execbase would cause a
  39. crash on almost all machines with FAST or SLOW RAM.
  40.  
  41. --
  42. Regards,
  43.  
  44. /»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»\
  45. | Rask Ingemann Lambertsen       | E-mail: c948374@student.dtu.dk        |
  46. | Amiga GNU CC README maintainer | WWW: http://www.gbar.dtu.dk/~c948374/ |
  47. | Keyboard error: <Ctrl> and <Alt> are stuck - press <Del> to continue   |
  48.